<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('dynamic/index')}">动态列表</a></li>
            <li><a href="{:url('dynamic/info',array('id'=>$cid))}">回复列表</a></li>
			<li class="active"><a>子回复列表</a></li>
		</ul>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>发帖人</th>
					<th>评论内容</th>
					<th>回复</th>
					<th>发布时间</th>
					<th width="50">操作</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="comment" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.cnickname}</td>
                    <td>{$vo.c_content}</td>
					<td>{$vo.pnickname}</td>
					<td>{$vo.c_createtime}</td>
					<td>
						<if condition="$vo['c_status'] lt 30">
							<a href="{:url('dynamic/disabled',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="您确定要屏蔽此动态吗？">屏蔽</a>
							<else />
							<a href="{:url('dynamic/disabled',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="您确定要显示此动态吗？"><b style="color: red">显示</b></a>
						</if>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>